package org.goldenport.g3
import org.goldenport.sdoc.SDoc
import org.goldenport.g3.messages.RecordSchema

/**
 * @since   Dec.  3, 2011
 * @version Dec.  4, 2011
 * @author  ASAMI, Tomoharu
 */
class Description(
    val title: SDoc,
    val subtitle: Option[SDoc],
    val summary: Option[SDoc],
    val schema: Option[RecordSchema])

object Description {
  def apply(title: SDoc, subtitle: SDoc = null, summary: SDoc = null, schema: RecordSchema = null) = {
    new Description(title, Option(subtitle), Option(summary), Option(schema))
  }
}
